package lec10.am.cal;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;

public class View extends JFrame {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	JTextField ta;
	JTextField tb;   
	JTextField tc;
	JButton eq;
	public  View() {
		super("My Calc 0.1a");
		setLayout(new FlowLayout());
		this.add(ta=new JTextField(10));
		this.add(new JLabel("+"));
		this.add(tb=new JTextField(10));
		this.add(eq=new JButton("="));
		this.add(tc=new JTextField(10));
		this.setSize(450,80);
		this.setVisible(true);

	}
}
